package classloader;

import interfaces.ApplicationInterface;

public class ClassLoad {
	
	public static ApplicationInterface loadClass(String className) {
		
		try {
			return (ApplicationInterface)(Class.forName(className).newInstance());
		} catch(Exception e) {
			/* Couldn't load class */
			return null;
		}
		
	}
	
}
